﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuceneNet
{
    [Table("Company")]
    public class Company
    {
        /// <summary>
        /// 自增ID
        /// </summary>
        public int Id { set; get; }
        /// <summary>
        /// 企业ID，对应Account的memberGuid
        /// </summary>
        public string MemberGuid { set; get; }
        /// <summary>
        /// 会员等级 0普通会员 1收费会员。。。。
        /// </summary>
        public int MemberType { set; get; }
        /// <summary>
        /// 会员开通时间
        /// </summary>
        public DateTime? MemberKaishi { set; get; }
        /// <summary>
        /// 会员到期时间
        /// </summary>
        public DateTime? MemberJiesu { set; get; }
        /// <summary>
        /// 公司名
        /// </summary>
        public string Gongsming { set; get; }
        /// <summary>
        /// A轮、B轮等发展阶段   1正常  2A轮阶段 3
        /// </summary>
        public int? FazhanJieduan { set; get; }
        /// <summary>
        /// 行业
        /// </summary>
        public int? Hangye { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public string HangyeCn { set; get; }
        /// <summary>
        /// 地区ID
        /// </summary>
        public int? DiquId { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public string DiquCn { set; get; }
        /// <summary>
        /// 员工人数
        /// </summary>
        public int? Renshu { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public string RenshuCn { set; get; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string Dizhi { set; get; }
        /// <summary>
        /// 百度地图坐标
        /// </summary>
        public string BaiduZuobiao { set; get; }

        public string Jingdu { get; set; }

        public string Weidu { get; set; }

        /// <summary>
        /// 地图坐标是否精准定位 0不精准 1精准
        /// </summary>
        public int? BaiduJingzhun { set; get; }
        /// <summary>
        /// 企业介绍
        /// </summary>
        public string Jieshao { set; get; }
        /// <summary>
        /// 企业亮点标签
        /// </summary>
        public string Biaoqian { set; get; }
        /// <summary>
        /// 企业Logo
        /// </summary>
        public string QiyeLogo { set; get; }
        public string QiyeHuanjin { set; get; }
        public string QiyeHuanjinYT { set; get; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime? CreateTime { set; get; }
        /// <summary>
        /// 企业URL
        /// </summary>
        public string Url { set; get; }
        /// <summary>
        /// 企业联系电话
        /// </summary>
        public string Tel { set; get; }
        /// <summary>
        /// 企业联系人
        /// </summary>
        public string Lianxiren { set; get; }

        /// <summary>
        /// HR联系电话
        /// </summary>
        public string HrTel { set; get; }
        /// <summary>
        /// HR联系手机
        /// </summary>
        public string HrMobile { set; get; }
        /// <summary>
        /// HR联系人
        /// </summary>
        public string HrLianxiren { set; get; }


        /// <summary>
        /// 销售人员ID,0为公海客户 -1为被销售踢到公海
        /// </summary>
        public int? SalesId { set; get; }

        /// <summary>
        /// 上个销售人员ID
        /// </summary>
        public int? SalesIdEd { set; get; }

        /// <summary>
        /// 来源，比如 58rc gj,如为纯数字则为添加人ID
        /// </summary>
        public string ComFrom { set; get; }

        /// <summary>
        /// 地区是否已核实
        /// </summary>
        public int? DiquHeshi { set; get; }
        /// <summary>
        /// 地区已核实,核实人
        /// </summary>
        public int? HeshiRen { set; get; }

        /// <summary>
        /// 审核状态 0未审 1已审 2审核未通过
        /// </summary>
        public int? Checked { set; get; }

        public string beizhu { get; set; }
    }
}
